#ifdef MU_LICENSING
#ifndef LICENSEDIALOG_H
#define LICENSEDIALOG_H

#include <QDialog>
#include <qca_publickey.h>

namespace Ui {
	class LicenseDialog;
}

class LicenseDialog : public QDialog
{
		Q_OBJECT

	public:
		explicit LicenseDialog(QWidget *parent = 0);
		~LicenseDialog();

		QString serialNumber();

		QCA::PublicKey publicKey() const;
		void setPublicKey(const QCA::PublicKey& value);

	private: //methods

		void generateLicenseRequest();

	private:

		Ui::LicenseDialog *ui;
		QCA::PublicKey m_publicKey;
};

#endif // LICENSEDIALOG_H
#endif // MU_LICENSING